Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@leidison
leidison / ubuntu20.04_php7.4_sqlsrv.sh
Created February 9, 2022 00:55
Install PHP 7.4 and SQLSRV on Ubuntu 20.04
#!/bin/bash
#ubuntu 20.04
#php7.4
# install php ppa
apt -y install software-properties-common
add-apt-repository ppa:ondrej/php -y
apt update
@codemem
codemem / .Cloud.md
Created May 8, 2025 07:02 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字处理)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本 & 按需付费 & 弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

其他人的集合

@mcxiaoke
mcxiaoke / clash.yaml
Created June 1, 2024 03:26
clash各种协议的配置模板
# DNS 配置可自行修改
port: 7890
allow-lan: true
mode: rule
log-level: info
unified-delay: true
global-client-fingerprint: chrome
dns:
enable: true
listen: :53
@craigbeck
craigbeck / introspection-query.graphql
Created April 6, 2016 20:20
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
@mcollina
mcollina / guide.md
Created April 30, 2026 09:41
Configuring minimum release age across npm, pnpm, and yarn

Configuring minimum release age across npm, pnpm, and yarn

Setting a minimum release age (a "cooldown") on dependencies is a cheap, high-leverage defense against supply-chain attacks. Most malicious package versions are detected and yanked within hours, so a 24-hour delay filters out the smash-and-grab incidents (axios 1.14.1, ua-parser-js, Solana web3.js, etc.).

All three major Node.js package managers now support this, but each one used a different name and a different unit. Here is what you need.

Minimum versions

Tool Setting Unit Introduced in
@itq5
itq5 / clash.yaml
Last active August 7, 2026 07:03
aggr
port: 7890
socks-port: 7891
allow-lan: true
mode: Rule
log-level: info
external-controller: 127.0.0.1:9090
proxies:
- {name: 🇨🇦 加拿大-中转2区2x-1C, server: sg.dickaws.top, port: 34525, type: anytls, password: 85004dd6-1676-440d-8640-7e460da27ffc, udp: true, sni: utoronto.ca, skip-cert-verify: true}
- {name: 🇹🇼 台湾A-中转2区2x-1P, server: sg.dickaws.top, port: 34516, type: anytls, password: e774c1fe-5e4b-4e0b-98b3-c13160138e62, udp: true, sni: snu.ac.kr, skip-cert-verify: true}
- {name: 🇲🇾 马来家宽-中转2区2.5x-1E, server: sg.dickaws.top, port: 34505, type: anytls, password: 19cc3226-d208-4180-9ffa-82cac8cf657e, udp: true, sni: um.edu.my, skip-cert-verify: true}

UX

Website: sputnikintelligence.com

Who we build for and why they'd pay.

The problem we solve

Newsletters and podcasts are where humans talk to and influence humans. Named authors and hosts with real audiences, high trust, and skin in the game, while the open web fills up with machine-written content.

@mmozeiko
mmozeiko / !README.md
Last active August 7, 2026 06:57
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).